﻿/******************************************
* 模块名称：实体 Detail
* 当前版本：1.0
* 开发人员：bobbyjob
* 生成时间：2012/11/14
* 版本历史：此代码由 VB/C#.Net实体代码生成工具(EntitysCodeGenerate 4.4) 自动生成。
* 
******************************************/
using System;
using System.Collections;
using System.Collections.Specialized;
using System.ComponentModel;

namespace Bobby.Entity.Common
{
	/// <summary>
	/// 实体 Detail
	/// </summary>
	[Description("Primary:ID")]
    [Serializable]
	public class Detail
	{
        #region 构造函数
        /// <summary>
        /// 实体 Detail
        /// </summary>
        public Detail(){}
        #endregion

        #region 私有变量
        private string _c_bigtype = null;
        private DateTime _c_date = DateTime.MinValue;
        private float _c_money = float.MinValue;
        private string _c_smalltype = null;
        private long _id = long.MinValue;
        #endregion

        #region 公共属性
        /// <summary>
        /// C_BigType
        /// </summary>
        public string C_BigType
        {
            set{ _c_bigtype=value;}
            get{return _c_bigtype;}
        }
        /// <summary>
        /// C_Date
        /// </summary>
        public DateTime C_Date
        {
            set{ _c_date=value;}
            get{return _c_date;}
        }
        /// <summary>
        /// C_Money
        /// </summary>
        public float C_Money
        {
            set{ _c_money=value;}
            get{return _c_money;}
        }
        /// <summary>
        /// C_SmallType
        /// </summary>
        public string C_SmallType
        {
            set{ _c_smalltype=value;}
            get{return _c_smalltype;}
        }
        /// <summary>
        /// 主键 ID(NOT NULL)
        /// </summary>
        public long ID
        {
            set{ _id=value;}
            get{return _id;}
        }
        #endregion
	}

    /// <summary>
    /// Detail实体集
    /// </summary>
    [Serializable]
    public class DetailS : CollectionBase
    {
        #region 构造函数
        /// <summary>
        /// Detail实体集
        /// </summary>
        public DetailS(){}
        #endregion

        #region 属性方法
        /// <summary>
        /// Detail集合 增加方法
        /// </summary>
        public void Add(Detail entity)
        {
            this.List.Add(entity);
        }
        /// <summary>
        /// Detail集合 索引
        /// </summary>
        public Detail this[int index]
        {
            get { return (Detail)this.List[index]; }
            set { this.List[index] = value; }
        }
        #endregion
    }
}
